from langchain_openai import OpenAI
from langchain.chains import ConversationChain

llm = OpenAI(temperature=0.9,
             base_url="https://api.gpts.vin/v1",
             api_key="sk-ELq6vE96xLlCHWjR21D8D93168604d2f975dF2572683464f")
conversation = ConversationChain(llm=llm, verbose=True)
# output = conversation.predict(input="Hi there!")
# print(output)

output = conversation.predict(input="I'm doing well! Just having a conversation with an AI.")
print(output)